from django.conf.urls import url, include
from django.contrib import admin
from blog import views
#from myblog import views
from blog.views import pay, about, blog, search, tag, category, archive, comment_post, index, form_test

urlpatterns = [
    url(r'^$', index, name="index"),
    url(r'^index/$', index, name="index1"),
    url(r'^pay/$', pay, name="pay"),
    url(r'^about/$', about, name="about"),
    url(r'^blog/(\d+).html$', blog, name="blog"),
    url(r'^search/$', search, name="search"),
    url(r'^tag/(\w+)/$', tag, name="tag"),
    url(r'^category/(\d+)/$', category, name="category"),
    url(r'^archive/$', archive, name="archive"),
    url(r'^comment_post/$', comment_post, name="comment_post"),
    url(r'^form_test/$', form_test, name="form_test")
]
